package com.it.demo.pojo;

import java.io.Serializable;
import java.util.Date;

public class Person implements Serializable {
    private int id;
    private int areaid;
    private String netherlands;//地区名
    private int num;
    private Date currd;
    private String lurn;
    //关联角色
    private Area area;

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", areaid=" + areaid +
                ", netherlands='" + netherlands + '\'' +
                ", num=" + num +
                ", currd=" + currd +
                ", lurn='" + lurn + '\'' +
                ", area=" + area +
                '}';
    }

    public String getNetherlands() {
        return netherlands;
    }

    public void setNetherlands(String netherlands) {
        this.netherlands = netherlands;
    }

    public Area getArea() {
        return area;
    }

    public void setArea(Area area) {
        this.area = area;
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getAreaid() {
        return areaid;
    }

    public void setAreaid(int areaid) {
        this.areaid = areaid;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public Date getCurrd() {
        return currd;
    }

    public void setCurrd(Date currd) {
        this.currd = currd;
    }

    public String getLurn() {
        return lurn;
    }

    public void setLurn(String lurn) {
        this.lurn = lurn;
    }
}
